Upload logrotated file
This service is used to configure and manage the upload of the DINGO-Stack log to a remote server.
The upload can be installed on the "Services" tab within the DINGO-Manager. The upload can also be installed from a SSH terminal with this command: sudo sh -c "$(curl -s http://apps.control2net.com/apt/install-logrotate-dingo-stack)"
To configure the upload ; select the upload service and click the "Main config. file..." button. See screenshot.
The frequency of the upload is defined by the log-rotation service. The configuration file for the upload is also the executable script that executes the upload. So any changes to the configuration file will take immediate effect.
Name: Upload logrotated file
Tag: Logging
Description: Only for editing configuration file.
Type: Other
Configuration file: /opt/GoIoT/DinGo/bin/general/rn_upload_last_log.sh
Log command:
Install command: sudo sh -c "$(curl -s http://apps.control2net.com/apt/install-logrotate-dingo-stack)"
Start command: /opt/GoIoT/DinGo/bin/general/rn_upload_last_log.sh
Stop command:
Restart command:
Status command: test -f /opt/GoIoT/DinGo/bin/general/rn_upload_last_log.sh && ( cat /etc/logrotate.d/dingo-stack | tr -d ' ' | grep ^'/opt/GoIoT/DinGo/bin/general/rn_upload_last_log.sh' && echo '(running)' || echo '(dead)')
Enable command:
Disable command: